package io.wjc.model;

import lombok.Data;
import org.springframework.security.core.GrantedAuthority;

@Data
public class RoleVo implements GrantedAuthority {
    private Integer id;
    private String roleName;
    private String roleDesc;

    @Override
    public String getAuthority() {
        return roleName;
    }
}
